#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<assert.h>
#include<string.h>

int my_strlen(const char* arr)
{
	assert(arr);
	const char* star = arr;
	while (*arr)
	{
		arr++;
	}
	return  arr-star;
}

int main()
{
	char arr[] = "abcdef";
	int ret = 0;
	ret = my_strlen(arr);
	printf("%d", ret);
	return 0;
 }